<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<form class="well form-search" method="post" action="{:U('AdminGoodsProperty/index')}">			
			&nbsp; &nbsp;
			关键字： 
			<input type="text" name="keyword" style="width: 200px;" value="{$formget.keyword|default=''}" placeholder="请输入关键字...">
			<input type="submit" class="btn btn-primary" value="搜索" />
			<a class="btn btn-danger" href="{:U('AdminGoodsProperty/index')}">清空</a>
		</form>
		<div class="table-actions">
			<a class="btn btn-primary" href="{:U('AdminGoodsProperty/index')}">{:L('BACK_PROPERTY_INDEX')}</a>
			<a class="btn btn-danger" href="{:U('AdminGoodsProperty/addProperty',array('cat_id' => $cat_id,'pname'=>$pname))}"><span class="fa fa-plus">&nbsp;</span>{:L('EMALL_ADMINGOODS_ADD_PARAM')}</a>
		</div>
		<form method="post" class="js-ajax-form" action="{:U('AdminGoodsProperty')}">
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>
						<th width="50">ID</th>
						<th width="120">{:L('EMALL_ADMINGOODS_PROPERTY_NAME')}</th>
						<th width="120">{:L('EMALL_ADMINGOODS_PARAM_NAME')}</th>
						<th>{:L('EMALL_ADMINGOODS_DESCRIPTION')}</th>
						<th width="120">{:L('EMALL_ADMINGOODS_FORMTYPE')}</th>
						<th width="120">{:L('PROPERTY_CATEGORY_NAME')}</th>
						<th>{:L('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="propertyList" item="vo" key="category">
						<foreach name="vo" item="data" key='k'>
							<tr>
							<td>{$k}</td>
							<td>{$pname}</td>
							<td><a href="" target='_blank'>{$data.paramname}</a></td>
		    				<td>{$data.description}</td>
		    				<td>{$data.formtype}</td>
		    				<td width="50">{$category}</td>
							<td>{$data.strManage}</td>
							</tr>
						</foreach>
					</foreach>
				</tbody>
				<tfoot>
					<tr>
						<th width="50">ID</th>
						<th width="120">{:L('EMALL_ADMINGOODS_PROPERTY_NAME')}</th>
						<th width="120">{:L('EMALL_ADMINGOODS_PARAM_NAME')}</th>
						<th>{:L('EMALL_ADMINGOODS_DESCRIPTION')}</th>
						<th width="120">{:L('EMALL_ADMINGOODS_FORMTYPE')}</th>
						<th width="120">{:L('PROPERTY_CATEGORY_NAME')}</th>
						<th>{:L('ACTIONS')}</th>
					</tr>
				</tfoot>
			</table>

		</form>
		<div class="table-actions">
			<a class="btn btn-primary" href="{:U('AdminGoodsProperty/index')}">{:L('BACK_PROPERTY_INDEX')}</a>
			<a class="btn btn-danger" href="{:U('AdminGoodsProperty/addProperty',array('cat_id' => $cat_id,'pname'=>$pname))}"><span class="fa fa-plus">&nbsp;</span>{:L('EMALL_ADMINGOODS_ADD_PARAM')}</a>
		</div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>